import request from '@/utils/request'

// 查询套餐明细列表
export function listBasepackagecomb(query) {
  return request({
    url: '/base/basepackagecomb/list',
    method: 'get',
    params: query
  })
}

// 查询套餐明细详细
export function getBasepackagecomb(id) {
  return request({
    url: '/base/basepackagecomb/' + id,
    method: 'get'
  })
}

// 新增套餐明细
export function addBasepackagecomb(data) {
  return request({
    url: '/base/basepackagecomb',
    method: 'post',
    data: data
  })
}

// 修改套餐明细
export function updateBasepackagecomb(data) {
  return request({
    url: '/base/basepackagecomb',
    method: 'put',
    data: data
  })
}

// 删除套餐明细
export function delBasepackagecomb(id) {
  return request({
    url: '/base/basepackagecomb/' + id,
    method: 'delete'
  })
}
